package com.lingo.mgr.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lingo.common.core.mapper.BaseMapperPlus;
import com.lingo.mgr.domain.ChatSession;
import com.lingo.mgr.domain.bo.ChatSessionBo;
import com.lingo.mgr.domain.vo.ChatSessionStartVo;
import com.lingo.mgr.domain.vo.ChatSessionVo;
import org.apache.ibatis.annotations.Param;

/**
 * 聊天消息会话Mapper接口
 *
 * @author ruoyi
 * @date 2023-08-30
 */
public interface ChatSessionMapper extends BaseMapperPlus<ChatSessionMapper, ChatSession, ChatSessionVo> {

    Page<ChatSessionStartVo> selectChatSessionList(Page<ChatSession> build, @Param("bo") ChatSessionBo bo);
}
